<template>
  <div>
    <el-card style="overflow: inherit" shadow="never" class="mb20">
      <info-form @search="handleSearch" ref="infoForm" />
    </el-card>
    <el-card shadow="never">
      <info-table ref="infoTable" />
    </el-card>
  </div>
</template>

<script>
import ProgressMask from './ProgressMask'
import InfoForm from './InfoForm'
import InfoTable from './InfoTable'

export default {
  components: {
    InfoForm,
    InfoTable,
    ProgressMask
  },
  methods: {
    handleSearch(param) {
      this.$nextTick(() => {
        this.$refs.infoTable.handleGetList(param)
      })
    }
  }
}
</script>
